
import pyautogui
import time
import sys

#移动点击，使鼠标光标在测定曲线内
# pyautogui.moveTo(1249, 307)
pyautogui.moveTo(760, 631)
pyautogui.click()

# 获取传递给Python脚本的参数
arg1 = sys.argv[1]
arg2 = sys.argv[2]
# 打印参数，并返回结果
#print("Argument 1 is:", arg1)
#print("Argument 2 is:", arg2)

#pyautogui.moveTo(223, 278)
x = int(sys.argv[1])  # 将第一个参数转换为整数
y = int(sys.argv[2])  # 将第二个参数转换为整数
print("x is:", x)
print("y is:", y)
pyautogui.moveTo(x, y)
#pyautogui.moveTo(arg1, arg2)
# pyautogui.click()

time.sleep(2)
print('click>>>>>>>>>>>>>>>>>>>>>>')
